package com.ligq.common.constants

/**
 * 帧类型
 */
const val TYPE_H264 = "TYPE_H264"
const val TYPE_H265 = "TYPE_H265"

enum class FrameType(encodeType: String, val frameType: Int) {
    TYPE_H264_I(TYPE_H264, 5),

    //    TYPE_H264_P(TYPE_H264, 5),
//    TYPE_H264_B(TYPE_H264, 5),
    TYPE_H264_SPS(TYPE_H264, 7),
    TYE_H264_PPS(TYPE_H264, 8),


    TYE_H265_VPS(TYPE_H265, 32),
    TYE_H265_SPS(TYPE_H265, 33),
    TYE_H265_PPS(TYPE_H265, 34),
    TYE_H265_I(TYPE_H265, 19),

}